package org.learn.intermediate;
//接口语句规则
public class Interface {
    int a = 0;//等价public static final int n1 = 0;
    interface AA{
       public void f1();
    }
}
class BB implements Interface.AA{
    @Override
    public void f1() {

    }
}
//接口之间可以继承多个，接口不能继承类